package vip.mall.modular.login.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author ASUS
 * @Date 2025/2/10 10:02
 * @Descripition 登录参数
 */
@Data
@AllArgsConstructor
@Schema(description = "登录参数")
public class LoginParam {
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;
    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
